@import "assets/css/iconfont.css";
:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
*{
  margin: 0;
  padding: 0;
}
body,#root{
  width:100vw;
  height: 100vh;
  overflow: hidden;
}
a{
  text-decoration: none;
}
div{
  box-sizing: border-box;
}


.login_warp{
  width : 100%;
  height: 100%;
  background: #1f1e1e;
  position: absolute;

}
/*main box*/
.main-box{
  width: 420px;
  height: 500px;
  position: relative;
  margin: 6% auto;
  background:#1b1b1b;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.sp{
  position: absolute;
  transition: 0.5s;
}
.sp-t{
  top: 0;
  right: 0;
  width: 200px;
  height: 2px;
  background:linear-gradient( to left , transparent,#57AAB4,#57AAB4);
  animation: anim2 2s linear infinite;
  transform: translateY(-300%);
  animation-delay: 0.8s;
}
.sp-r{
  bottom: 0;
  right: 0;
  width: 2px;
  height: 200px;
  background:linear-gradient( to top , transparent,#57AAB4 ,#57AAB4);
  animation: anim1 2s linear infinite;
  animation-delay: 0s;
}
.sp-b{
  right: 0;
  bottom: 0;
  width: 200px;
  height: 2px;
  background:linear-gradient( to left , transparent,#57AAB4,#57AAB4);
  animation: anim2 2s linear infinite;
}
.sp-l{
  left: 0;
  top:0;
  width: 2px;
  height: 200px;
  background:linear-gradient( to top , transparent,#57AAB4,#57AAB4);
  animation: anim1 2s linear infinite;
  animation-delay: 1s;
  transform: translateX(-300%);
}
@keyframes anim1 {
  0%{
    transform: translateY(300%);

  }
  100%{
    transform: translateY(-300%);

  }
}
@keyframes anim2 {
  0%{
    transform: translateX(300%);
  }
  100%{
    transform: translateX(-300%);

  }
}
/*main box end*/

.form-box{
  width: calc(100% - 10px);;
  position: relative;
  height: calc(100% - 10px);
  background:#252525;
  padding: 5px;
  overflow: hidden;
  z-index: 5;
}
#after{
  width: 50%;
  height: 100%;
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  background:#2d2e30;
  z-index:-1;
  transition: 0.5s;
}
.login_button_warp{
  width: 220px;
  margin: 35px auto 30px auto;
  position: relative;
  border-radius:30px;
  display: flex;
  justify-content: space-around;
  animation: animBTN 5s linear infinite;
}

@keyframes animBTN {
  0%{
    box-shadow:  0 0 10px 9px rgba(3,169,244,0.3);
  }
  33%{
    box-shadow:  0 0 10px 9px rgba(244,65,165,0.3);

  }
  66.9%{
    box-shadow:  0 0 10px 9px rgba(255,235,59,0.3);

  }
  100%{
    box-shadow:  0 0 10px 9px rgba(3,169,244,0.3);
  }
}
.toggle-btn{
  padding: 10px 30px;
  cursor: pointer;
  background:transparent;
  border: 0;
  font-size: 14px;
  font-weight: bold;
  color: rgb(234, 234, 235);
  outline: none;
  position: relative;
  transition: 0.5s;
}
#btn{
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 100%;
  background:linear-gradient( to left , #57AAB4,#57AAB4);
  border-radius: 30px;
  transition: 0.5s;
}
.login_platform_icons{
  margin: 0 auto;
  text-align: center;
  display: flex;
  justify-content: center;
}
.icon-link{
  display: flex;
  background: transparent;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 50%;
  margin: 0px 10px;
  box-shadow: 6px 6px 10px -1px rgba(234, 234, 235, 0.1),
  -6px -6px 10px -1px	rgba(37,37,37,0.7);
  border: 1px solid rgba(234, 234, 235,0.09);
  transition: transform 0.5s;
}
.cont-icon{
  color: #57AAB4;
  font-size: 28px;
  transition: transform 0.5s;
}
.icon-link:hover{
  box-shadow: inset 4px 4px 6px -1px rgba(234, 234, 235, 0.2),
  inset 4px 4px 6px -1px	rgba(37,37,37,0.7),
  0 0 5px #57AAB4,
  0 0 25px #57AAB4,
  0 0 50px #57AAB4,
  0 0 100px #03e9f4;
  transform: translateY(2px);
}
.icon-link:hover .cont-icon{
  transform: scale(0.95);
}
.icon-link:hover .fa-facebook{
  color: #57AAB4;
}
.icon-link:hover .fa-instagram{
  color: #57AAB4;
}
.icon-link:hover .fa-github{
  color: #57AAB4;
}


.span{
  margin: 20px 0;
  color:rgb(234, 234, 235);
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  /*position: absolute;
  bottom: 88px;*/
}
.check-box{
  margin: 0 10px ;
  padding: 0;
}

/*#login{*/
/*  left : 0px;*/
/*}*/
/*#register{*/
/*  left : 500px;*/
/*}*/



@keyframes a {
  0%{
    background-position: 0%;
  }
  100%{
    background-position: 400%;
  }
}

@keyframes animBTN {
  0%{
    box-shadow:  0 0 10px 9px rgba(3,169,244,0.3);
  }
  33%{
    box-shadow:  0 0 10px 9px rgba(244,65,165,0.3);

  }
  66.9%{
    box-shadow:  0 0 10px 9px rgba(255,235,59,0.3);

  }
  100%{
    box-shadow:  0 0 10px 9px rgba(3,169,244,0.3);
  }
}

.gradient-nav-bg-color{
    background: linear-gradient(to right, red, blue);
    -webkit-background-clip: border-box;
    /*-webkit-text-fill-color: transparent; !* 只在文本上使用时才需要这个 *!*/
}
